import path = require("path");

export const APP_PATCH = process.cwd();

export const PORT = 3006;

// key
export const TOKEN_SECRET = "Jack_20_.1$";
//过期时间
export const EXPIRESIN = 24 * 60 * 60;
export const PUBLIC_PATCH = path.join(APP_PATCH, "./public");

export const QI_NIU = {
  accessKey: "", // 在七牛云官网申请
  secretKey: "",
  bucket: "", // bucket是存储空间名称
};
export const ALI_CLIENT = {
  region: "", //oss-cn-guangzhou自定义项具体对照表https://help.aliyun.com/document_detail/31837.html?spm=a2c6h.13066369.0.0.11384123BRZZFf
  accessKeyId: "", //密钥key
  accessKeySecret: "", //自定义项
  bucket: "", //存储桶名称
};

export const TX_CLIENT = {
  Bucket: "", // 存储桶名称
  Region: "", //区域
  SecretId: "",
  SecretKey: "",
};

export const WX_CLIENT = {
  appId: '',
  appsecret: ''
}